<?php if ( ! defined('WDK_PATH')) exit('No direct script access allowed');?>
<!--{**************************************************************************}-->
<style>
ul.tabmenu			{list-style: none;margin: 0px;padding: 0px;}
ul.tabmenu li		{float:left;margin-right:3px;height:32px;}
ul.tabmenu li a		{padding:5px 7px;border:1px solid #D9D9D9;height:18px;}
ul.tabmenu li a.on	{background-color:#DC4616;color:#FFF;}
</style>
<!--{**************************************************************************}-->
<form id="msgForm" action="" method="POST">
<table class="form">
	<caption>
		<div class="fl">
			<ul class="tabmenu">
				<li><a <!--{? data.user_seq == session.message_to}-->class="on" <!--{/}-->href="/user/msg">받은쪽지</a></li>
				<li><a <!--{? data.user_seq == session.user_seq}-->class="on" <!--{/}-->href="/user/msg/send">보낸쪽지</a></li>
				<li><a href="/user/msg/form">쓰기</a></li>
			</ul>
		</div>
	</caption>
	<colgroup>
		<col width="20%"/>
		<col width="30%"/>
		<col width="20%"/>
		<col width="30%"/>
	</colgroup>
	<tbody>
		<tr>
			<th>보낸</th>
			<td>{data.user_nick}</td>
			<th>보낸시간</th>
			<td>{=date('Y-m-d H:i:s', data.message_insert_time)}</td>
		</tr>
		<tr>
			<th>받는사람</th>
			<td>{data.to_user_nick}</td>
			<th>읽은시간</th>
			<td>
				<!--{? data.message_read_flag == 'T' }-->
				{=date('Y-m-d H:i:s', data.message_read_time)}
				<!--{:}-->
				-
				<!--{/}-->
			</td>
		</tr>
		<tr>
			<th>제목</th>
			<td colspan="3">{data.message_title}</td>
		</tr>
		<tr>
			<th>내용</th>
			<td colspan="3">{data.message_content}</td>
		</tr>
	</tbody>
	<tfoot>
		<td colspan="4">
			<div class="fr">
				<!--{? data.message_read_flag == 'F' }-->
				<a id="btn_cancel" class="btn" href="javascript:;">전송취소</a>
				<!--{:}-->
				<a id="btn_del" class="btn" href="javascript:;">삭제</a>
				<!--{/}-->
			</div>
		</td>
	</tfoot>
</table>
</form>
<!--{**************************************************************************}-->
<!--{**************************************************************************}-->